]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
viewSelector: Fix another case of mixing GJS and GObject signals
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 23 Feb 2017 22:16:07 +0000 (23:16 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 26 Feb 2017 14:01:24 +0000 (15:01 +0100)
This is the same issue fixed in commit e08f2a4a041 for several other
classes, but this one somehow slipped through ...

js/ui/viewSelector.js

index 182d344d51cc08b62e97cc436e8a65b948e13a31..211ed42c6d1db480d2947dbfea11073e2e00dbac 100644 (file)
@@ -77,6 +77,7 @@ Signals.addSignalMethods(TouchpadShowOverviewAction.prototype);
 const ShowOverviewAction = new Lang.Class({
     Name: 'ShowOverviewAction',
     Extends: Clutter.GestureAction,
+    Signals: { 'activated': {} },
 
     _init : function() {
         this.parent();
@@ -135,7 +136,6 @@ const ShowOverviewAction = new Lang.Class({
         this.emit('activated', areaDiff);
     }
 });
-Signals.addSignalMethods(ShowOverviewAction.prototype);
 
 const ViewSelector = new Lang.Class({
     Name: 'ViewSelector',